package com.pine.dcts.common;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 数据源类型
 */
@Getter
public enum DatasourceType {
    CACHE("com.intersys.jdbc.CacheDriver"),
    SQLSERVER(  "com.microsoft.sqlserver.jdbc.SQLServerDriver"),
    ORACLE( "oracle.JDBC.driver.OracleDriver"),
    MYSQL( "com.mysql.jdbc.Driver"),
    DB2("com.ibm.db2.jcc.DB2Driver"),
    POSTGRESQL(  "org.postgresql.Driver"),
    ACCESS(  "sun.jdbc.odbc.JdbcOdbcDriver"),
    SYBASE( "com.sybase.JDBC.SybDriver");
    /**
     * 驱动路径
     */
    private final String driverClassName;

    DatasourceType( String driverClassName) {
        this.driverClassName = driverClassName;
    }



}
